<!--
  描述：服务分类-产品分类关联列表页
  @author tanghongjun
  @since 2020-08-25 14:35:13
-->
<!DOCTYPE html SYSTEM "http://www.thymeleaf.org/dtd/xhtml1-strict-thymeleaf-4.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:th="http://www.thymeleaf.org">

<head th:include="common/common :: jscss2">
    <title>产品服务管理</title>
</head>
<body>

<div class="layui-fluid">

    <!--面包屑-->
    <blockquote class="layui-crumb">
        后台产品>产品分类>
        <a lay-href="/serv/categ/ass/list.action">后台分类关联</a>
    </blockquote>

    <div class="layui-card">

        <div class="layui-split">&nbsp;</div>

        <form method="post" class="layui-form" action="/serv/categ/ass/list.action">
            <div class="layui-form" th:include="servasscategory/_query :: query"></div>
        </form>

        <div class="layui-card-body">
            <div th:replace="servasscategory/_table::table"/>
            <script type="text/html" id="zmn-table-tool">
                <div class="layui-btn-container">
                    <div class="layui-btn-group" th:if="${#authPermit.checkPermit('/serv/categ/ass/delete.action')}">
                    </div>
                </div>
            </script>
        </div>

    </div>
</div>
<script type="text/javascript" th:inline="javascript">

    var json = {
        hasAdd: [[${#authPermit.checkPermit('/serv/categ/ass/create.action')}]],
        hasView: [[${#authPermit.checkPermit('/serv/categ/ass/list.action')}]],
        hasContent: [[${#authPermit.checkPermit('/serv/categ/ass/list.action')}]],
        totalCount: [[${vo.totalCount}]],
        pageSize: [[${vo.pageSize}]],
        pageIndex: [[${vo.pageIndex}]],
        items: [[${items}]],
        actionButtons: [
            {
                permiss: [[${#authPermit.checkPermit('/serv/categ/ass/updateDisclaimer.action')}]],
                url: "/serv/categ/ass/disclaimerView.action?groupId=",
                text: "免责条款"
            },
            {
                permiss: [[${#authPermit.checkPermit('/serv/categ/ass/addEditView.action')}]],
                url: "/serv/categ/ass/addEditView.action?groupId=",
                text: "产品组"
            },
            {
                permiss: [[${#authPermit.checkPermit('/serv/categ/ass/faultView.action')}]],
                url: "/serv/categ/ass/faultView.action?groupId=",
                text: "故障现象"
            },
            {
                permiss: [[${#authPermit.checkPermit('/serv/categ/ass/acceptProjectView.action')}]],
                url: "/serv/categ/ass/acceptProjectView.action?groupId=",
                text: "验收项目"
            },
            {
                permiss: [[${#authPermit.checkPermit('/serv/categ/ass/serviceContentView.action')}]],
                url: "/serv/categ/ass/serviceContentView.action?groupId=",
                text: "服务内容"
            },
            {
                permiss: [[${#authPermit.checkPermit('/category/faultimage/list.action')}]],
                url: "/category/faultimage/list.action?groupId=",
                text: "故障图片"
            },
            {
                permiss: [[${#authPermit.checkPermit('/serv/categ/ass/tstDripView.action')}]],
                url: "/serv/categ/ass/tstDripView.action?groupId="
                , text: "检修提醒"
            }
        ]
    };
    layui.config({
        base: "/static/lay/",
        version: "20211206"
    }).extend({
        index: "lib/index",
        art_serv_ass_category_list: "servcategory/zmn.art.serv.ass.categ.list",
    }).use(['index', 'art_serv_ass_category_list']);

</script>
</body>
</html>